package com.example.service;

import com.example.pojo.Collection;

import javax.servlet.http.HttpServletRequest;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

public interface CollectionService {
    void addConllection(Collection collection, HttpServletRequest request);

    void delCollection(Integer id, HttpServletRequest request);

    List<Collection> getCollection(String name, LocalDateTime date, HttpServletRequest request);
}
